//Headers
#ifndef FUNCS_H
#define FUNCS_H
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <string>
using namespace std;

void apply_surface( int x, int y, SDL_Surface* source, SDL_Surface* destination );

//GLuint gl_load_image();

SDL_Surface *load_image( string filename );

SDL_Surface *load_image_a( string filename );

bool check_collision(SDL_Rect A, SDL_Rect B);

bool check_collisionabs(SDL_Rect A, SDL_Rect B[], int N_BOXES);

bool check_collisionstand(SDL_Rect A, SDL_Rect B[], int N_BOXES);

#endif
